﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class ajaxbang : System.Web.UI.Page
{
    protected void Page_PreRender(object sender, EventArgs e)
    {
        var sl = int.Parse(Request["sl"]);
        for (var i = 0; i < sl; i++)
        {
            var result = "<div class='load_table'><div style='margin-bottom: 5px;'><img src='images/pp_1.png'/></div><table class='tbl-user-info'><tbody><tr><td class='icon-col'><i class='sprite-be u-username'></i> <span class='label'>Họ tên:</span></td><td class='name-col'><div class='control-group'><asp:TextBox  runat='server' CssClass='normal-input'></asp:TextBox><asp:RequiredFieldValidator ID='RequiredFieldValidator3' runat='server' ErrorMessage='Chưa nhập username' ControlToValidate='txtUsername' ForeColor='Red'></asp:RequiredFieldValidator></div></td></tr><tr><td class='icon-col'><i class='sprite-be icon-ngaysinh'></i> <span class='label'>Ngày sinh:</span></td><td class='name-col'>                              <asp:TextBox ID='TextBox5' runat='server' CssClass='normal-input input-small date'></asp:TextBox><asp:RequiredFieldValidator ID='RequiredFieldValidator11' runat='server' ErrorMessage='Chưa nhập ngày sinh' ControlToValidate='txtBirthday' ForeColor='Red'></asp:RequiredFieldValidator></td></tr><tr><td class='icon-col'><i class='sprite-be u-sex'></i> <span class='label'>Giới tính:</span></td><td class='name-col'><div class='control-group'><asp:DropDownList ID='ddl_gioitinh' runat='server' CssClass='select'><asp:ListItem Value='1'>Nam</asp:ListItem><asp:ListItem Value='0'>Nữ</asp:ListItem></asp:DropDownList></div></td></tr><tr><td class='icon-col'><i class='sprite-be u-sex'></i> <span class='label'>Loại khách:</span></td><td class='name-col'><div class='control-group'><asp:DropDownList ID='ddl_loaikhach' runat='server' CssClass='select'><asp:ListItem Value='1'>Người lớn</asp:ListItem><asp:ListItem Value='0'>Trẻ em</asp:ListItem><asp:ListItem Value='2'>Trẻ nhỏ</asp:ListItem></asp:DropDownList></div></td></tr><tr><td class='icon-col'><i class='sprite-be u-sex'></i> <span class='label'>Phòng đơn:</span></td><td class='name-col'><div class='control-group'><asp:DropDownList ID='ddl_phongdon' runat='server' CssClass='select'><asp:ListItem Value='1'>Có</asp:ListItem><asp:ListItem Value='0'>Không</asp:ListItem></asp:DropDownList></div></td></tr></tbody></table></div>";
            Response.Write(result);
        }
        
       
    }
}